public class Test {
    public static void main(String[] args) {
        PriorityQueue<Number> priorityQueue=new PriorityQueue<Number>();
        int[] array={27,15,19,18,28,34,65,49,25,37};
        priorityQueue.initElem(array);
        priorityQueue.createHeap();
        System.out.println(priorityQueue.peekHeap());
        priorityQueue.push(80);
        System.out.println(priorityQueue.peekHeap());
        System.out.println(priorityQueue.pop());
        System.out.println(priorityQueue.peekHeap());
        System.out.println("=====");


    }
}
